package com.exam.system.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 试题实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("问题实体类")
public class ExamQuestion {
    @ApiModelProperty("试题id，主键")
    private Integer id;
    @ApiModelProperty("问题的题目描述")
    private String question;
    @ApiModelProperty("题目类型")
    private String type;
    @ApiModelProperty("题目正确答案及解析")
    private String analysis;
    @ApiModelProperty("当前题目状态")
    private String status;
    @ApiModelProperty("创建人id")
    private Integer creatorId;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("修改人id")
    private Integer updatorId;
    @ApiModelProperty("修改时间")
    private Date updateTime;
    @ApiModelProperty("是否已删除")
    private String isdel;
    @ApiModelProperty("标签实体类")
    private ExamTags examTags;
    @ApiModelProperty("标签id")
    private Integer tagId;
    @ApiModelProperty("创建人")
    private String username;
    @ApiModelProperty("问题选项实体类,一个问题对应不止一个选项")
    private List<QuestionOption> questionOption;
    @ApiModelProperty("标签")
    private String tags;
    @ApiModelProperty("标签")
    private String[] tagList;
}